package cn.bs.busuo.account.service.impl;

import cn.bs.busuo.account.dao.persist.repository.ISightRoadsRepository;
import cn.bs.busuo.account.pojo.entity.SightRoads;
import cn.bs.busuo.account.service.ISightRoadsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SightRoadsServiceImpl implements ISightRoadsService {
    @Autowired
    private ISightRoadsRepository sightRoadsRepository;

    @Override
    public void addRoads(SightRoads sightRoads) {
        sightRoadsRepository.addRoads(sightRoads);
    }

    @Override
    public void deleteRoads(Long id) {
        sightRoadsRepository.deleteRoads(id);
    }
}
